Skip to content

Conversation

@brandonskiser
Copy link
Contributor

@brandonskiser brandonskiser commented May 9, 2025

Description of changes:

  • Implementing /import and /export builtin commands for importing and exporting conversation state to/from a JSON file.
  • Derive Serialize and Deserialize for ConversationState
  • Adding a wrapper around aws_smithy_types::Document that implements Serialize and Deserialize
  • Fixing /help text spacing for /usage, and adding text for /import and /export

The goal here is to improve debuggability of the current chat session. There's more improvements to be made around saving request metadata and persistence options (e.g. including context files) but for now this is a good first pass.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.75%. Comparing base (522bbb7) to head (0222bbd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1762   +/-   ##
=======================================
  Coverage   16.75%   16.75%           
=======================================
  Files         213      213           
  Lines       20704    20704           
  Branches      871      871           
=======================================
  Hits         3468     3468           
  Misses      17236    17236           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@brandonskiser brandonskiser marked this pull request as ready for review May 9, 2025 22:34
@brandonskiser brandonskiser requested a review from a team May 9, 2025 22:34
@brandonskiser brandonskiser enabled auto-merge (squash) May 9, 2025 22:39
@brandonskiser brandonskiser disabled auto-merge May 9, 2025 22:40
@brandonskiser brandonskiser merged commit 44b1c90 into main May 9, 2025
21 checks passed
@brandonskiser brandonskiser deleted the bskiser/add-import-export-commands branch May 9, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants